package com.huawei.appgallery.forum.message.api;

import android.content.Intent;
import com.huawei.secure.android.common.intent.SafeIntent;
import o.dyr;
import o.dys.a;
import o.fho;
import o.fjb;

public class ForumMessageHomeAction extends dyr {
    public static final String ACTION = "com.huawei.appmarket.intent.action.forum.message.home";
    public static final String BUNDLE_DOMAINID = "DomainId";
    public static final String BUNDLE_KINDID = "KindId";
    public static final String BUNDLE_SOURCETYPE = "SourceType";
    private static final String TAG = "ForumMessageHomeAction";

    public ForumMessageHomeAction(a aVar) {
        super(aVar);
    }

    public void onAction() {
        SafeIntent safeIntent = new SafeIntent(this.callback.getIntent());
        fjb ˎ = fho.ˏ().ˋ("Message").ˎ("message_home_activity");
        IMessageHomeProtocol iMessageHomeProtocol = (IMessageHomeProtocol) ˎ.ˊ();
        iMessageHomeProtocol.setSourceType(safeIntent.getIntExtra(BUNDLE_SOURCETYPE, 2));
        iMessageHomeProtocol.setDomainId(safeIntent.getStringExtra("DomainId"));
        iMessageHomeProtocol.setKindId(safeIntent.getIntExtra(BUNDLE_KINDID, 2));
        Intent intent = new Intent();
        intent.addFlags(33554432);
        this.callback.ˏ(ˎ, intent);
        this.callback.finish();
    }
}
